using System;
using System.Collections.Generic;
using System.Text;

namespace IWS.Lib.SingleSignOn
{
	public class ServiceException : System.ApplicationException
	{
		public ServiceException() { }
		public ServiceException(string message) : base(string.Format("Server Error: {0}", message)) { }
		public ServiceException(string message, System.Exception inner) : base(string.Format("Server Error: {0}", message), inner) { }

		// Constructor needed for serialization 
		// when exception propagates from a remoting server to the client.
		protected ServiceException(System.Runtime.Serialization.SerializationInfo info,
			 System.Runtime.Serialization.StreamingContext context) { }

	}
}


